runtime.mheap.sweepHeapLiveBasis (field)
4 uses
runtime (current package)
mgcsweep.go#L177: print("pacer: sweep done at heap size ", live>>20, "MB; allocated ", (live-mheap_.sweepHeapLiveBasis)>>20, "MB during sweep; swept ", mheap_.pagesSwept.Load(), " pages at ", mheap_.sweepPagesPerByte, " pages/byte\n")
mgcsweep.go#L913: liveBasis := mheap_.sweepHeapLiveBasis
mgcsweep.go#L995: mheap_.sweepHeapLiveBasis = heapLiveBasis
mheap.go#L106: sweepHeapLiveBasis uint64 // value of gcController.heapLive to use as the origin of sweep ratio; written with lock, read without